package com.zhongwang.business.gen.entity;

import lombok.Data;

@Data
public class Role {
    private Integer id;

    private String roleName;

    private Integer status;

    private Integer orderNo;

    private Integer pid;

    private String roleCode;

    public Role(Integer id, String roleName, Integer status, Integer orderNo, Integer pid, String roleCode) {
        this.id = id;
        this.roleName = roleName;
        this.status = status;
        this.orderNo = orderNo;
        this.pid = pid;
        this.roleCode = roleCode;
    }

    public Role() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode == null ? null : roleCode.trim();
    }

    private boolean checkFlag;
}